package com.gdut.simple.contract;

import com.gdut.simple.basic.IPresenter;
import com.gdut.simple.basic.IView;
import com.gdut.simple.data.entity.User;

public interface FollowContract {

    interface View extends IView<Presenter> {

        String getUserId();

        User getUser();

        User getFollow();

        void showFollowButton();

        void hideFollowButton();

        void showLoginBar();

        void setUser(User user);

        void refresh(User user);
    }

    interface Presenter extends IPresenter {

        void getUser();

        void checkStatus();

        void follow();
    }

}
